import request from "@/utils/http";

//
export async function getPage(params?: any): Promise<any> {
  return request(`/node/`, {
    method: "get",
    params,
  });
}

// 根据股票代码拉取基金持仓明细
export async function getHoldDetail(params?: any): Promise<any> {
  return request(`/node/detail`, {
    method: "get",
    params,
  });
}

// 根据基金代码查询基金list
export async function getFundList(params?: any): Promise<any> {
    return request(`/node/fundList`, {
      method: "get",
      params,
    });
  }
